package com.tester.yaa.exam001.phone.server;

import com.tester.yaa.exam001.phone.entity.PhoneEntity;

/**
 * @Aduthor yinanan
 * @ClassName VivoPhone
 * @Date 2022/12/4 19:48
 * @Description vivo手机实现类
 **/
public class VivoPhone implements Phone {

    public VivoPhone() {
        this.machining();
    }

    @Override
    public void machining() {
        PhoneEntity ph = new PhoneEntity();
        ph.setPhType("vivo手机");
        ph.setPhMessage("这是工厂建造的vivo牌子手机。");
        System.out.println("参数打印：" + ph.toString());
    }
}
